<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
<title>Matrix Admin</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="/Public/matrix/css/bootstrap.min.css" />
<link rel="stylesheet" href="/Public/matrix/css/bootstrap-responsive.min.css" />
<link rel="stylesheet" href="/Public/matrix/css/matrix-style.css" />
<link rel="stylesheet" href="/Public/matrix/css/matrix-media.css" />
<link href="/Public/matrix/font-awesome/css/font-awesome.css" rel="stylesheet" />
<script src="/Public/matrix/js/jquery.min.js"></script> 
<script src="/Public/matrix/js/jquery.ui.custom.js"></script> 
<script src="/Public/matrix/js/bootstrap.min.js"></script> 
<script src="/Public/matrix/js/matrix.js"></script>
<script src="/Public/layer/layer.js"></script>
</head>
<body>


<!--Header-part-->
<div id="header">
  <h1><a href="<?php echo U('Index/index');?>">Matrix Admin</a></h1>
</div>
<!--close-Header-part--> 

<!--top-Header-menu-->
<div id="user-nav" class="navbar navbar-inverse">
  <ul class="nav">
    <li  class="dropdown" id="profile-messages" ><a title="" href="#" data-toggle="dropdown" data-target="#profile-messages" class="dropdown-toggle"><i class="icon icon-user"></i>  <span class="text">欢迎登录：张三</span><b class="caret"></b></a>
      <ul class="dropdown-menu">
        <li><a href="#"><i class="icon-check"></i> 我的资料</a></li>
        <li class="divider"></li>
        <li><a href="login.html"><i class="icon-key"></i> 修改密码</a></li>
      </ul>
    </li>
    <li class=""><a title="" href="<?php echo U('Public/logout');?>"><i class="icon icon-share-alt"></i> <span class="text">退出登录</span></a></li>
  </ul>
</div>


<!--sidebar-menu-->
<div id="sidebar"> <a href="#" class="visible-phone"><i class="icon icon-fullscreen"></i>Full width</a>
  <ul>
    <?php echo R('Public/createMenu');?>
       <li class="submenu"> <a href="#"><i class="icon icon-th-list"></i> <span>Forms</span> <span class="label label-important">3</span></a>
      <ul>
        <li><a href="form-common.html">Basic Form</a></li>
        <li><a href="form-validation.html">Form with Validation</a></li>
        <li><a href="form-wizard.html">Form with Wizard</a></li>
      </ul>
    </li>
  </ul>
</div>


<div id="content">

  <div id="content-header">
    <div id="breadcrumb"> <a href="#" title="回到首页" class="tip-bottom"><i class="icon-home"></i> 首页</a> <a href="#" class="current">菜单节点管理</a> </div>
    <h1>菜单节点管理</h1>
  </div>
 

<div class="container-fluid">
  <hr>
  

<div class="quick-actions_homepage">
    <ul class="quick-actions">
      <li class="bg_lb"> <a href="#" onclick="showWindow('添加新节点','<?php echo U('Menu/add');?>',500,350);" > <i class="icon-plus"></i> 添加新节点 </a> </li>
      <li class="bg_lg"> <a href="#"> <i class="icon-cog"></i> 菜单节点排序</a> </li>
    </ul>
</div>

<div class="row-fluid">
  <div class="span12">
    <div class="widget-box">
      
	 <div class="widget-title"> <span class="icon"> <i class="icon-th"></i> </span>
          <h5>菜单节点</h5>
          </div>
          <div class="widget-content nopadding">
            <table class="table table-bordered table-striped">
              <thead>
                <tr>
                  <th>ID</th>
                  <th>菜单名称</th>
                  <th>URL</th>
                  <th>状态</th>
                  <th>操作</th>
                </tr>
              </thead>
              <tbody>
                  <?php echo ($list); ?>
              </tbody>
            </table>

          </div>
          <div class="pagination"></div>
        </div>

    </div>
  </div>
</div>


</div>
</div>

<!--Footer-part-->
<div class="row-fluid">
  <div id="footer" class="span12"> 2013 &copy; Matrix Admin. Brought to you by <a href="http://themedesigner.in/">Themedesigner.in</a> </div>
</div>
<!--end-Footer-part-->


</body>
</html>
<script type="text/javascript">
$(function(){
  //加载扩展模块
  layer.config({
      extend: 'extend/layer.ext.js'
  });

});
</script>

<script type="text/javascript" src="/Public/layer/public.js"></script>